package org.smherwig.wlanscanner;

import java.util.TimerTask;
import android.net.wifi.WifiManager;

class ScanTask extends TimerTask {
	private WifiManager wifiManager;
	
	public ScanTask(WifiManager wifiManager) {
		this.wifiManager = wifiManager;
	}
	
	@Override
	public void run() {
		wifiManager.startScan();
	}
}
